#pragma once
#include "../../nclgl/SceneNode.h"
#include "SpringMesh.h"
class SpringNode :public SceneNode
{
public:
	SpringNode(){};
	~SpringNode(){};

	void Update(float msec)
	{
		SceneNode::Update(msec);
		spMesh->NodeUpdate(msec);
	};
	void SetMesh(SpringMesh* smesh){ mesh = smesh; spMesh = smesh; };
private:
	SpringMesh* spMesh;
};

